import i18n from "@/locales";
import { App } from "vue";

const modules = import.meta.glob('./modules/*.ts')

export function setupPlugins(app: App<Element>) {
  for (const path in modules) {
    modules[path]().then((mode) => {
      mode.default(app)
    })
  }
}
